Skip to content

Added headers parameter which can be used to pass custom headers#10

Merged
gagantrivedi merged 7 commits intoFlagsmith:mainfrom
workindia:feature/add-ability-to-allow-custom-headers
Oct 12, 2021
Merged

Added headers parameter which can be used to pass custom headers#10
gagantrivedi merged 7 commits intoFlagsmith:mainfrom
workindia:feature/add-ability-to-allow-custom-headers

Conversation

@nogoodusername
Copy link
Copy Markdown
Contributor

Added a header parameter to flagsmith. Accepts a dictionary.

We're planning to run flagsmith behind a gateway and the gateway will prevent unauthorised identity / trait manipulation will happen via clients.

Copy link
Copy Markdown
Contributor

@matthewelwell matthewelwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @nogoodusername, I've added a few comments where we can improve this. It's also highlighted some other areas of the code that can be improved so I can tidy those up in a separate PR after we get this one merged.

Comment thread flagsmith/flagsmith.py Outdated
Comment thread flagsmith/flagsmith.py Outdated
Comment thread flagsmith/flagsmith.py Outdated
@gagantrivedi gagantrivedi merged commit a0777d8 into Flagsmith:main Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants